<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button id="btn" >我是一个按钮</button>
		<script type="text/javascript">
			var btn=document.getElementById("btn");
		   /* btn.onclick=function()
			{
				alert("你还点");
			} */
			//双击响应函数
			btn.ondblclick=function()
			{
				alert("双击事件");
			}
			/* btn.onmousemove=function()
			{
				alert("移动到上面");
			} */
		</script>
	</body>
</html>